<?php
	require_once("../../oh.framework/oh.framework.php");
	oh("config")->file("config.php");

	$tabs = oh("frecord")->get(oh("config.file"));
	$tabs[] = "option|option.php";
	$cols = array(); $cols[] = "*";
	for($i=0;$i<count($tabs);$i++){$cols[]="0";}
	$cols = implode(",",$cols);
?>
<html>
<head>
</head>
<frameset rows="20,*">
	<frame src="menu.php" />
	<frameset id="panels" cols="<?php echo $cols; ?>">
		<?php
			foreach($tabs as $k=>$tab) {
				$tab = explode("|",$tab);
				echo '<frame src="'.$tab[1].'" />';
			}
		?>
	</frameset>
</frameset>
</html>
